

<!--搜索条件-->
<div class="row">
    <form class="mt20" role="form">
        <div class="row">
            <div class="col-lg-3 col-sm-3 col-md-3 col-xs-3">
                <div class="input-group">
                    <span class="input-group-addon">发送时间</span>
                    <input def-laydate type="text" class="form-control" id="smsDate" ng-model="smsList.smsDate" placeholder="" />
                </div>
            </div>
            <div class="col-lg-3 col-sm-3 col-md-3 col-xs-3">
                <div class="input-group">
                    <span class="input-group-addon">接收人</span>
                    <input type="text" class="form-control" ng-model="smsList.person" placeholder="">
                </div>
            </div>
            <div class="col-lg-3 col-sm-3 col-md-3 col-xs-3">
                <div class="input-group">
                    <span class="input-group-addon">关键字</span>
                    <input type="text" class="form-control" ng-model="smsList.queryVal" placeholder="">
                </div>
            </div>
            <div class="col-lg-3 col-sm-3 col-md-3 col-xs-3">
                <div class="col-lg-6 col-sm-6 col-md-6 col-xs-6">
                    <select class="form-control" ng-model="smsList.IsAchieved">
                        <option value="">发送状态</option>
                        <option value="1">已发送</option>
                        <option value="0">未发送</option>
                    </select>
                </div>
                <div class="col-lg-6 col-sm-6 col-md-6 col-xs-6">
                    <button class="btn btnCustom" type="button" ng-click="search()"><i class="fa fa-search" style="margin-right:2px;"></i>搜索</button>
                </div>

            </div>

        </div>


    </form>

</div>
<!--表格内容-->
<div class="row mt20">

    <div class="table-responsive">
        <table class="table table-bordered">
            <thead>
            <tr>
                <th><input type="checkbox" ng-model="selectAll" ng-click="selectAllClick(selectAll,smsData)"></th>
                <th>序号</th>
                <th>接收人</th>
                <th>短信内容</th>
                <th>发送时间</th>
                <th>发送状态</th>
            </tr>
            </thead>
            <tbody>
                <tr ng-repeat="sms in smsData | orderBy:'-ID'">
                    <th scope="row"><input type="checkbox" id="{{sms.Id}}" ng-model="selected"  ng-checked="selectAll"  ng-click="chk(sms.ID,selected)" ></th>
                    <td>{{$index + 1}}</td>
                    <td>{{sms.Receiver}}</td>
                    <td>{{sms.SmsInfo}}</td>
                    <td>{{sms.SendDate | date:'yyyy-MM-dd'}}</td>
                    <td ng-bind-html="sms.IsAchieved | sendFilter"></td>
                </tr>
            </tbody>
        </table>
    </div>
</div>
<!--分页与操作信息-->
<div class="row">
    <div class="col-lg-1 col-sm-2 col-md-1 col-xs-2">
        <div class="row">
            <button class="btn btnCustom" ng-click="deleteSelect()"><i class="icon-trash icon-large mr2"></i>删除选中</button>
        </div>
    </div>
    <div class="col-lg-7 col-sm-6 col-md-7 col-xs-4">
        <p style="margin-top:6px;">共计 [ <b class="red">{{totalItems}}</b> ] 条记录</p>
    </div>
    <div class="col-lg-4 col-sm-6 col-md-4 col-xs-6">
        <div class="row">
            <div ng-show="totalItems > rows">

                <uib-pagination class="pagination PagingCustom pull-right"
                                items-per-page="rows"
                                ng-model="currentPage"
                                total-items="totalItems"
                                max-size="maxSize"
                                ng-change="pageChanged()"
                                boundary-links="false"
                                boundary-link-numbers="true"
                                rotate="false"
                                force-ellipses="true"
                                previous-text="‹"
                                next-text="›">
                </uib-pagination>

            </div>
        </div>
    </div>
</div>